<template>
	<view class="hot">
		<Book :dataList='hotList1'></Book>
	</view>
</template>

<script>
	import Book from "../common/Book.vue"
	export default{
		data(){
			return{
				hotList1:[
					{
						id:1,
						imgUrl:"../../static/img/recommend/books1.jpg",
						name:"夜晚的潜水艇",
						pprice:"299",
						oprice:"699",
						discount:"5.2"
					},
					{
						id:2,
						imgUrl:"../../static/img/recommend/books2.jpg",
						name:"夜晚的潜水艇",
						pprice:"299",
						oprice:"699",
						discount:"5.2"
					},
					{
						id:3,
						imgUrl:"../../static/img/recommend/books3.jpg",
						name:"夜晚的潜水艇",
						pprice:"299",
						oprice:"699",
						discount:"5.2"
					},
					{
						id:4,
						imgUrl:"../../static/img/recommend/books4.jpg",
						name:"夜晚的潜水艇",
						pprice:"299",
						oprice:"699",
						discount:"5.2"
					}
				]
			}
		},
		components:{
			Book
		}
	}
</script>

<style>
</style>
